﻿// Decompiled with JetBrains decompiler
// Type: DnProcessSimulateCommands.ExplodeGeometries.CUiEXGExplodeGeometriesCmd
// Assembly: DnProcessSimulateCommands, Version=2402.0.0.890, Culture=neutral, PublicKeyToken=null
// MVID: A885D881-AEDF-447E-852A-6F13102E089C
// Assembly location: C:\Program Files\Tecnomatix_2402\eMPower\DotNetCommands\DnProcessSimulateCommands.dll

using Tecnomatix.Engineering;
using Tecnomatix.Engineering.Ui;


namespace DnProcessSimulateCommands.ExplodeGeometries;

public class CUiEXGExplodeGeometriesCmd : TxButtonCommand
{
  private CApEXGExplodeGeometriesEnabler m_enabler;

  public CUiEXGExplodeGeometriesCmd() => this.m_enabler = new CApEXGExplodeGeometriesEnabler();

  public virtual string Category => ExplodeGeometriesStringTable.CMD_CATEGORY;

  public virtual string Name => ExplodeGeometriesStringTable.CMD_NAME;

  public virtual string Tooltip => ExplodeGeometriesStringTable.CMD_TOOLTIP;

  public virtual string Bitmap => ExplodeGeometriesStringTable.CMD_BITMAP;

  public virtual ITxImage Image => (ITxImage) TxImageManager.GetImageByKey("ExplodeGeometries");

  public virtual string Description => ExplodeGeometriesStringTable.CMD_DESCRIPTION;

  public virtual ITxCommandEnabler CommandEnabler => (ITxCommandEnabler) this.m_enabler;

  public virtual bool Connect() => true;

  public virtual void Execute(object cmdParams)
  {
    new CApEXGExplodeGeometriesApp().ExplodeSelectedObjects();
  }
}
